﻿using System;
using System.Threading;


class Task1
{
    static void Main()
    {
        Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
        int n1 = int.Parse(Console.ReadLine());
        int n2 = int.Parse(Console.ReadLine());
        int n3 = int.Parse(Console.ReadLine());
        int n4 = int.Parse(Console.ReadLine());
        int n5 = int.Parse(Console.ReadLine());
        double amount = double.Parse(Console.ReadLine());
        double price = double.Parse(Console.ReadLine());

        double machineTray = n1 * 0.05 + n2 * 0.10 + n3 * 0.20 + n4 * 0.50 + n5 * 1.00;

        if (price > amount) // 2.
        {
            double razlika2 = price - amount;
            Console.WriteLine("More {0:F2}", razlika2);
        }
        else
        {
            if ((amount > price) && (machineTray < (amount - price)))   //3. 
            {
                Console.WriteLine("No {0:F2}", (amount - price) - machineTray);
            }
            else
            {
                if (amount >= price)    // 1.
                {
                    double razlika = amount - price;

                    Console.WriteLine("Yes {0:F2}", machineTray - razlika);
                }
            }
        }

    }
}

